package org.wanghong.org.service;

import org.wanghong.basic.service.IBaseService;
import org.wanghong.basic.util.PageList;
import org.wanghong.org.domain.Department;
import org.wanghong.org.query.DepartmentQuery;

import java.io.Serializable;
import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
    /*void add(Department department);
    void del(Serializable id);         //Integer Long String .....都可以使用
    void update(Department department);
    Department getById(Serializable id);
    List<Department> getAll();
    PageList<Department> queryPage(DepartmentQuery query);*/
    List<Department> getTree();
}
